package com.binhai.springboot.role.dao;

import com.binhai.springboot.role.bean.RoleBean;
import com.binhai.springboot.tree.TreeBean;
import com.binhai.springboot.user.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleBeanDao {


    int insertSelective(RoleBean record);



    List<RoleBean> getAllData();

    void saveShouQuan(RoleBean bean);

    String getShouQuan(RoleBean bean);

    void deleteShouQuan(RoleBean bean);

    List<TreeBean>  getAllRoleTreeData();

    void update(RoleBean bean);

    void delete(RoleBean bean);

    List<RoleBean> select(String name);
}